package com.bootdo.market.service.impl;

import com.bootdo.market.dao.ProductTagsDao;
import com.bootdo.market.domain.ProductTagsDO;
import com.bootdo.market.service.ProductTagsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class ProductTagsServiceImpl implements ProductTagsService {
    @Autowired
    private ProductTagsDao productTagsDao;

    @Override
    public ProductTagsDO get(Integer id) {
        return productTagsDao.get(id);
    }

    @Override
    public List<ProductTagsDO> list(Map<String, Object> map) {
        return productTagsDao.list(map);
    }

    @Override
    public int count(Map<String, Object> map) {
        return productTagsDao.count(map);
    }

    @Override
    public int save(ProductTagsDO productTags) {
        return productTagsDao.save(productTags);
    }

    @Override
    public int update(ProductTagsDO productTags) {
        return productTagsDao.update(productTags);
    }

    @Override
    public int remove(Integer id) {
        return productTagsDao.remove(id);
    }

    @Override
    public int batchRemove(Integer[] ids) {
        return productTagsDao.batchRemove(ids);
    }

    @Override
    public List<ProductTagsDO> productTagsListlist(Map<String, Object> map) {
        return productTagsDao.productTagsListlist(map);
    }

    @Override
    public int productTagsListlistCount(Map<String, Object> map) {
        return productTagsDao.productTagsListlistCount(map);
    }

}
